title bar gradient for my fav list and handling backgrounds for switching fragments updating project structure - made more concise Started making audio books ui and integrating the apis
34 lines
1013 B
XML
34 lines
1013 B
XML
<?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="?actionBarSize"
|
|
android:background="@android:color/transparent"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="15dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/back_btn"
|
|
android:layout_width="@dimen/_25sdp"
|
|
android:layout_height="@dimen/_25sdp"
|
|
android:contentDescription="@string/image"
|
|
android:src="@drawable/ic_arrow_back_full"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="@font/exo_2_bold"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/_14ssp"
|
|
|
|
android:maxLines="1"
|
|
android:ellipsize="end"
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
/>
|
|
|
|
</LinearLayout> |