[Android] Update layouts
This commit is contained in:
parent
331aac7678
commit
1c22355295
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:paddingStart="?attr/listPreferredItemPaddingStart"
|
||||
android:paddingEnd="?attr/listPreferredItemPaddingEnd"
|
||||
android:paddingTop="10dip"
|
||||
android:textColor="?colorAccent"
|
||||
android:textStyle="bold"
|
||||
android:textSize="24dp" />
|
||||
</LinearLayout>
|
|
@ -2,7 +2,8 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/scanRomsDialog_selectDir"
|
||||
|
@ -23,7 +24,10 @@
|
|||
android:id="@+id/ScanRecursively"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp" />
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/TextColor"
|
||||
app:buttonTint="@color/TextColor"
|
||||
/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/linearLayoutButtons"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -37,7 +41,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_toLeftOf="@+id/buttonOk"
|
||||
android:layout_toStartOf="@+id/buttonOk"
|
||||
android:text="@android:string/cancel" />
|
||||
android:text="@android:string/cancel"
|
||||
android:textColor="@color/ButtonTextColor" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonOk"
|
||||
|
@ -45,6 +50,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:text="@android:string/ok" />
|
||||
android:text="@android:string/ok"
|
||||
android:textColor="@color/ButtonTextColor" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
|
@ -1,18 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/background_actionbar"
|
||||
android:theme="@style/Project64.Toolbar" />
|
||||
android:theme="@style/Theme.Project64.ToolBar"
|
||||
app:titleTextAppearance="@style/Theme.Project64.ToolBar.TitleText"
|
||||
/>
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_placeholder"
|
||||
android:layout_width="fill_parent"
|
||||
|
|
|
@ -6,16 +6,17 @@
|
|||
android:orientation="vertical"
|
||||
tools:ignore="UseCompoundDrawables" >
|
||||
|
||||
<ImageView android:id="@+id/mainImage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/app_name"
|
||||
android:src="@drawable/publisherlogo"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/mainImage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/app_name"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/publisherlogo"
|
||||
tools:src="@drawable/publisherlogo" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in New Issue