improving some rtl layout handling + updates
This commit is contained in:
parent
fe6ef5ca60
commit
f31e37136b
5 changed files with 15 additions and 12 deletions
|
@ -6,8 +6,8 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.34.24'
|
||||
kotlin_version = '1.4.31'
|
||||
propVersionName = '5.34.25'
|
||||
kotlin_version = '1.4.32'
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
|
|
@ -253,8 +253,9 @@ class PropertiesDialog() {
|
|||
}
|
||||
|
||||
private fun addProperty(labelId: Int, value: String?, viewId: Int = 0) {
|
||||
if (value == null)
|
||||
if (value == null) {
|
||||
return
|
||||
}
|
||||
|
||||
mInflater.inflate(R.layout.property_item, mPropertyView, false).apply {
|
||||
property_value.setTextColor(mActivity.baseConfig.textColor)
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
android:id="@+id/dialog_title_textview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:paddingStart="@dimen/bigger_margin"
|
||||
android:paddingTop="@dimen/activity_margin"
|
||||
android:paddingEnd="@dimen/activity_margin"
|
||||
android:textSize="@dimen/actionbar_text_size"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:textStyle="bold" />
|
||||
|
|
|
@ -1,23 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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"
|
||||
android:id="@+id/property_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/property_label"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/activity_margin"
|
||||
android:textSize="@dimen/smaller_text_size"/>
|
||||
android:textSize="@dimen/smaller_text_size"
|
||||
tools:text="@string/date_taken" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/property_value"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/small_margin"
|
||||
android:paddingRight="@dimen/small_margin"/>
|
||||
android:paddingRight="@dimen/small_margin"
|
||||
tools:text="01.01.2021" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -29,5 +29,5 @@ android {
|
|||
dependencies {
|
||||
implementation project(':commons')
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
implementation 'com.google.android.material:material:1.3.0'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue