[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,6 +2,7 @@
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -23,7 +24,10 @@
|
||||||
android:id="@+id/ScanRecursively"
|
android:id="@+id/ScanRecursively"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="10dp" />
|
android:padding="10dp"
|
||||||
|
android:textColor="@color/TextColor"
|
||||||
|
app:buttonTint="@color/TextColor"
|
||||||
|
/>
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/linearLayoutButtons"
|
android:id="@+id/linearLayoutButtons"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -37,7 +41,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toLeftOf="@+id/buttonOk"
|
android:layout_toLeftOf="@+id/buttonOk"
|
||||||
android:layout_toStartOf="@+id/buttonOk"
|
android:layout_toStartOf="@+id/buttonOk"
|
||||||
android:text="@android:string/cancel" />
|
android:text="@android:string/cancel"
|
||||||
|
android:textColor="@color/ButtonTextColor" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/buttonOk"
|
android:id="@+id/buttonOk"
|
||||||
|
@ -45,6 +50,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:text="@android:string/ok" />
|
android:text="@android:string/ok"
|
||||||
|
android:textColor="@color/ButtonTextColor" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -1,18 +1,18 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
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_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<android.support.v7.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:background="?attr/background_actionbar"
|
android:theme="@style/Theme.Project64.ToolBar"
|
||||||
android:theme="@style/Project64.Toolbar" />
|
app:titleTextAppearance="@style/Theme.Project64.ToolBar.TitleText"
|
||||||
|
/>
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/fragment_placeholder"
|
android:id="@+id/fragment_placeholder"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
|
|
|
@ -6,16 +6,17 @@
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
tools:ignore="UseCompoundDrawables" >
|
tools:ignore="UseCompoundDrawables" >
|
||||||
|
|
||||||
<ImageView android:id="@+id/mainImage"
|
<ImageView
|
||||||
|
android:id="@+id/mainImage"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:scaleType="fitXY"
|
android:layout_gravity="center"
|
||||||
|
android:layout_weight="1"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:contentDescription="@string/app_name"
|
android:contentDescription="@string/app_name"
|
||||||
|
android:scaleType="fitXY"
|
||||||
android:src="@drawable/publisherlogo"
|
android:src="@drawable/publisherlogo"
|
||||||
android:layout_weight="1"
|
tools:src="@drawable/publisherlogo" />
|
||||||
/>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
Loading…
Reference in New Issue