Last display fixes
This commit is contained in:
parent
0744081600
commit
9cdd59e71e
|
@ -7,8 +7,8 @@ android {
|
||||||
applicationId "fr.gouv.etalab.mastodon"
|
applicationId "fr.gouv.etalab.mastodon"
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 90
|
versionCode 91
|
||||||
versionName "1.6.7-rc-1"
|
versionName "1.6.7"
|
||||||
|
|
||||||
}
|
}
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -179,6 +179,7 @@
|
||||||
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
|
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
|
||||||
android:excludeFromRecents="true"/>
|
android:excludeFromRecents="true"/>
|
||||||
<activity android:name=".activities.ManageAccountsInListActivity"
|
<activity android:name=".activities.ManageAccountsInListActivity"
|
||||||
|
android:windowSoftInputMode="adjustPan"
|
||||||
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
|
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
|
||||||
android:excludeFromRecents="true"/>
|
android:excludeFromRecents="true"/>
|
||||||
</application>
|
</application>
|
||||||
|
|
|
@ -107,8 +107,8 @@ public class ListAdapter extends BaseAdapter implements OnListActionInterface {
|
||||||
Drawable next = ContextCompat.getDrawable(context, R.drawable.ic_keyboard_arrow_right);
|
Drawable next = ContextCompat.getDrawable(context, R.drawable.ic_keyboard_arrow_right);
|
||||||
holder.search_title.setText(list.getTitle());
|
holder.search_title.setText(list.getTitle());
|
||||||
assert next != null;
|
assert next != null;
|
||||||
next.setBounds(0,0,100,100);
|
final float scale = context.getResources().getDisplayMetrics().density;
|
||||||
assert next != null;
|
next.setBounds(0,0,(int) (30 * scale + 0.5f),(int) (30 * scale + 0.5f));
|
||||||
holder.search_title.setCompoundDrawables(null, null, next, null);
|
holder.search_title.setCompoundDrawables(null, null, next, null);
|
||||||
|
|
||||||
holder.search_container.setOnClickListener(new View.OnClickListener() {
|
holder.search_container.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
|
@ -103,8 +103,9 @@ public class SearchTootsListAdapter extends BaseAdapter {
|
||||||
}
|
}
|
||||||
Drawable next = ContextCompat.getDrawable(context, R.drawable.ic_keyboard_arrow_right);
|
Drawable next = ContextCompat.getDrawable(context, R.drawable.ic_keyboard_arrow_right);
|
||||||
holder.search_title.setText(search);
|
holder.search_title.setText(search);
|
||||||
|
final float scale = context.getResources().getDisplayMetrics().density;
|
||||||
assert next != null;
|
assert next != null;
|
||||||
next.setBounds(0,0,100,100);
|
next.setBounds(0,0,(int) (30 * scale + 0.5f),(int) (30 * scale + 0.5f));
|
||||||
holder.search_title.setCompoundDrawables(null, null, next, null);
|
holder.search_title.setCompoundDrawables(null, null, next, null);
|
||||||
|
|
||||||
holder.search_container.setOnClickListener(new View.OnClickListener() {
|
holder.search_container.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:id="@+id/lv_accounts_search"
|
android:id="@+id/lv_accounts_search"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="300dp"
|
||||||
android:scrollbars="none"
|
android:scrollbars="none"
|
||||||
android:divider="@null"
|
android:divider="@null"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue