- 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,31 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:background="?android:attr/selectableItemBackground">
<TextView
android:id="@+id/title"
android:layout_width="0dp"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="sans-serif-medium"
android:textColor="?android:attr/textColorPrimary"
android:textSize="14sp"
android:singleLine="true" />
android:background="?android:attr/selectableItemBackground"
android:orientation="horizontal"
android:padding="16dp">
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="center"
android:src="@drawable/ic_arrow_down"
android:tint="?android:attr/textColorPrimary"
android:tintMode="src_in"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="sans-serif-medium"
android:singleLine="true"
android:textColor="?android:attr/textColor"
android:textSize="14sp" />
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="center"
android:src="@drawable/ic_arrow_down"
android:tint="?android:attr/textColor"
android:tintMode="src_in"
tools:ignore="ContentDescription" />
</LinearLayout>