listview has no dividers anymore

listview begins under navbar now
added background behind listview
This commit is contained in:
JG-Cody 2021-06-27 17:23:42 +02:00
parent e401474bf7
commit 055b7907c6
3 changed files with 16 additions and 2 deletions

View File

@ -6,6 +6,14 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".MainActivity"> tools:context=".MainActivity">
<ImageView
android:id="@+id/Background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#80FFFFFF"
android:scaleType="centerCrop"
android:src="@drawable/fog_background" />
<com.google.android.material.floatingactionbutton.FloatingActionButton <com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/addbutton_fab" android:id="@+id/addbutton_fab"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -19,9 +27,13 @@
<ListView <ListView
android:id="@+id/listView" android:id="@+id/listView"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:visibility="visible" /> android:layout_marginTop="65dp"
android:visibility="visible"
android:divider="@null"
android:dividerHeight="0dp"
/>
</FrameLayout> </FrameLayout>

View File

@ -135,6 +135,7 @@
android:layout_marginRight="-50dp" android:layout_marginRight="-50dp"
android:layout_marginBottom="-125dp" android:layout_marginBottom="-125dp"
android:src="@drawable/teraplex_sidebar" android:src="@drawable/teraplex_sidebar"
app:tint="@color/mtrl_btn_text_color_selector"
app:layout_constraintBottom_toTopOf="@+id/textView6" app:layout_constraintBottom_toTopOf="@+id/textView6"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" /> app:layout_constraintStart_toStartOf="parent" />

View File

@ -38,6 +38,7 @@
android:layout_height="40dp" android:layout_height="40dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_margin="5dp" android:layout_margin="5dp"
android:visibility="visible"
app:srcCompat="@drawable/clear_black_24dp" app:srcCompat="@drawable/clear_black_24dp"
app:tint="?attr/colorOnPrimary" app:tint="?attr/colorOnPrimary"
tools:ignore="VectorDrawableCompat"> tools:ignore="VectorDrawableCompat">