mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-29 21:33:07 -08:00
Replace all fill_parent by match_parent
This commit is contained in:
1 parent
98ff5fb338
commit
002fa06ce9
17 files changed
+64
-68
No files matched your search
@@ -4,10 +4,6 @@ import android.os.Build;
|
||||
|
||||
import com.keepassdroid.compat.BuildCompat;
|
||||
|
||||
/**
|
||||
* Created by joker on 03/11/17.
|
||||
*/
|
||||
|
||||
public class FingerPrintUtils {
|
||||
|
||||
// Solve bug of VerifyError
|
||||
|
||||
@@ -45,7 +45,7 @@ public class EntryContentsView extends LinearLayout {
|
||||
|
||||
@Override
|
||||
protected LayoutParams generateDefaultLayoutParams() {
|
||||
return new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -62,7 +62,7 @@ public class PwEntryView extends ClickView {
|
||||
|
||||
populateView(ev, pw, pos);
|
||||
|
||||
LayoutParams lp = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
|
||||
addView(ev, lp);
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ public class PwGroupView extends ClickView {
|
||||
|
||||
populateView(gv, pw);
|
||||
|
||||
LayoutParams lp = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
|
||||
addView(gv, lp);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user