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
44 lines
1.4 KiB
XML
44 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black_50"
|
|
tools:context=".home.views.FMActivity">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/_30sdp"
|
|
android:layout_height="@dimen/_30sdp"
|
|
|
|
android:contentDescription="@string/image"
|
|
android:src="@drawable/ic_close_filled"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintBottom_toTopOf="@id/g1"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
app:tint="@color/white" />
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:id="@+id/g1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
app:layout_constraintGuide_percent="0.6"
|
|
/>
|
|
|
|
<WebView
|
|
android:id="@+id/web_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/g1"
|
|
|
|
/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |