mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-30 22:02:57 -08:00
Add Material style and change layouts
This commit is contained in:
1 parent
c3e77b21ec
commit
714245a5ba
49 files changed
+876
-961
No files matched your search
@@ -40,8 +40,6 @@ public class FileNameView extends RelativeLayout {
|
||||
inflate(context);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void inflate(Context context) {
|
||||
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
inflater.inflate(R.layout.file_selection_filename, this);
|
||||
@@ -58,7 +56,7 @@ public class FileNameView extends RelativeLayout {
|
||||
|
||||
TextView tv = (TextView) findViewById(R.id.label_warning);
|
||||
TextView label = (TextView) findViewById(R.id.label_open_by_filename);
|
||||
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
|
||||
if (warning != -1) {
|
||||
tv.setText(warning);
|
||||
|
||||
Reference in new issue
Block a user