diff options
Diffstat (limited to 'app/src/main/res/layout/drawer_follow.xml')
-rw-r--r-- | app/src/main/res/layout/drawer_follow.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/app/src/main/res/layout/drawer_follow.xml b/app/src/main/res/layout/drawer_follow.xml index 0fcc8e74a..a3cf42829 100644 --- a/app/src/main/res/layout/drawer_follow.xml +++ b/app/src/main/res/layout/drawer_follow.xml @@ -14,15 +14,21 @@ You should have received a copy of the GNU General Public License along with Fedilab; if not, see <http://www.gnu.org/licenses> --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<com.google.android.material.card.MaterialCardView 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:layout_width="match_parent" android:layout_height="wrap_content" + android:id="@+id/cardview_container" + android:layout_marginTop="@dimen/card_margin" + android:clipChildren="false" android:layout_marginHorizontal="@dimen/card_margin" - android:layout_marginTop="@dimen/card_margin"> + android:clipToPadding="false" + app:cardElevation="0dp" + app:strokeWidth="0dp"> <View + android:id="@+id/divider_card" android:layout_width="match_parent" android:layout_height="1px" android:background="?colorOutline" /> @@ -48,6 +54,7 @@ tools:text="User asked to follow you" /> <androidx.appcompat.widget.AppCompatImageView + android:id="@+id/icon" android:layout_width="20dp" android:layout_height="20dp" android:layout_gravity="center" @@ -128,4 +135,4 @@ </androidx.appcompat.widget.LinearLayoutCompat> -</RelativeLayout> +</com.google.android.material.card.MaterialCardView> |