diff options
Diffstat (limited to 'app/src/main/res/layout/drawer_domain_block.xml')
-rw-r--r-- | app/src/main/res/layout/drawer_domain_block.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/app/src/main/res/layout/drawer_domain_block.xml b/app/src/main/res/layout/drawer_domain_block.xml index 81edbc780..653b54c49 100644 --- a/app/src/main/res/layout/drawer_domain_block.xml +++ b/app/src/main/res/layout/drawer_domain_block.xml @@ -14,13 +14,20 @@ 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" + android:id="@+id/cardview_container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_margin="12dp"> + android:layout_marginHorizontal="6dp" + android:layout_marginTop="6dp" + android:clipChildren="false" + 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" /> @@ -51,4 +58,4 @@ android:padding="6dp" app:icon="@drawable/ic_baseline_delete_24" /> </androidx.appcompat.widget.LinearLayoutCompat> -</RelativeLayout>
\ No newline at end of file +</com.google.android.material.card.MaterialCardView>
\ No newline at end of file |