浏览代码

allow square logos for server selection screen

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 4 年之前
父节点
当前提交
b57f091c36
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/src/main/res/layout/controller_server_selection.xml

+ 2 - 1
app/src/main/res/layout/controller_server_selection.xml

@@ -41,9 +41,10 @@
         <ImageView
             android:id="@+id/image_logo"
             android:layout_width="match_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="96dp"
             android:layout_marginBottom="@dimen/standard_margin"
             android:contentDescription="@string/nc_app_product_name"
+            android:scaleType="centerInside"
             app:srcCompat="@drawable/ic_logo" />
 
         <LinearLayout