- Reformatted code

- Changed textColor Attribute
- Removed fixed themes for views
- Fixed padding of tabs_toolbar
This commit is contained in:
Mohit
2021-06-08 21:27:55 +05:30
parent 74a14457ec
commit 93442f74d1
13 changed files with 681 additions and 702 deletions

View File

@ -1,28 +1,27 @@
<?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="48dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="?android:attr/selectableItemBackground">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="16dp"
android:textColor="?android:attr/textColor"
android:textSize="16sp"
android:singleLine="true" />
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_weight="1"
android:singleLine="true"
android:textColor="?android:attr/textColor"
android:textSize="16sp" />
<Switch
android:id="@+id/enabled"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:clickable="false" />
<Switch
android:id="@+id/enabled"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:clickable="false"
android:paddingStart="12dp"
android:paddingEnd="12dp" />
</LinearLayout>