Skip to content
Snippets Groups Projects
Verified Commit 98e581f9 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes #177

parent 3f35c0a5
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,8 @@ class MissingFeaturesDialog : DialogFragment() { ...@@ -53,8 +53,8 @@ class MissingFeaturesDialog : DialogFragment() {
.customView(R.layout.dialog_missing_features, true) .customView(R.layout.dialog_missing_features, true)
.title(R.string.label_missing_features) .title(R.string.label_missing_features)
.also { .also {
it.positiveText(if (builder?.readOnly == true) R.string.label_accept it.positiveText(if (builder?.readOnly == true) R.string.label_close
else R.string.label_close) else R.string.label_accept)
builder?.positiveListener?.let(it::onPositive) builder?.positiveListener?.let(it::onPositive)
} }
.build() .build()
......
...@@ -17,25 +17,30 @@ ...@@ -17,25 +17,30 @@
with this program. If not, see <http://www.gnu.org/licenses/>. with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingBottom="8dp" android:paddingTop="8dp"
android:paddingTop="8dp"> android:paddingBottom="8dp">
<TextView <TextView
android:id="@+id/message" android:id="@+id/message"
style="@style/Widget.RtlConformTextView" style="@style/Widget.RtlConformTextView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:paddingEnd="?listPreferredItemPaddingRight"
android:paddingLeft="?listPreferredItemPaddingLeft"
android:paddingRight="?listPreferredItemPaddingRight"
android:paddingStart="?listPreferredItemPaddingLeft" android:paddingStart="?listPreferredItemPaddingLeft"
android:paddingLeft="?listPreferredItemPaddingLeft"
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingEnd="?listPreferredItemPaddingRight"
android:paddingRight="?listPreferredItemPaddingRight"
android:paddingBottom="8dp"
android:textColor="?colorTextPrimary" android:textColor="?colorTextPrimary"
android:textSize="16sp" /> android:textSize="16sp" />
...@@ -48,3 +53,4 @@ ...@@ -48,3 +53,4 @@
tools:itemCount="3" tools:itemCount="3"
tools:listitem="@layout/widget_missing_feature" /> tools:listitem="@layout/widget_missing_feature" />
</LinearLayout> </LinearLayout>
</androidx.core.widget.NestedScrollView>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment