mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Replace the RecyclerView for comments to MultiLevelRecyclerView in order to display the comment trees easily. Click the expand more button to expand the comment tree. Click the expand less button to hide the comment tree. Rewrite some code.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<vector android:height="12dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="12dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<vector android:height="20dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="20dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#010101" android:pathData="M20,12l-1.41,-1.41L13,16.17V4h-2v12.17l-5.58,-5.59L4,12l8,8 8,-8z"/>
|
||||
</vector>
|
@@ -1,4 +1,4 @@
|
||||
<vector android:height="12dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="12dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<vector android:height="20dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="20dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M4,12l1.41,1.41L11,7.83V20h2V7.83l5.58,5.59L20,12l-8,-8 -8,8z"/>
|
||||
</vector>
|
4
app/src/main/res/drawable/ic_expand_less_black_20dp.xml
Normal file
4
app/src/main/res/drawable/ic_expand_less_black_20dp.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<vector android:height="20dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="20dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M12,8l-6,6 1.41,1.41L12,10.83l4.59,4.58L18,14z"/>
|
||||
</vector>
|
4
app/src/main/res/drawable/ic_expand_more_black_20dp.xml
Normal file
4
app/src/main/res/drawable/ic_expand_more_black_20dp.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<vector android:height="20dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="20dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M16.59,8.59L12,13.17 7.41,8.59 6,10l6,6 6,-6z"/>
|
||||
</vector>
|
@@ -1,4 +1,4 @@
|
||||
<vector android:height="12dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="12dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<vector android:height="20dp" android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0" android:width="20dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M10,9V5l-7,7 7,7v-4.1c5,0 8.5,1.6 11,5.1 -1,-5 -4,-10 -11,-11z"/>
|
||||
</vector>
|
Reference in New Issue
Block a user