Small layout improvements

This commit is contained in:
M66B
2021-05-21 08:18:59 +02:00
parent 82f120c6a4
commit b85ab4ee2a
7 changed files with 46 additions and 24 deletions

View File

@@ -1553,17 +1553,17 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
LayoutInflater inflater = LayoutInflater.from(getContext());
View dview = inflater.inflate(R.layout.dialog_first, null);
Button btnBatteryInfo = dview.findViewById(R.id.btnBatteryInfo);
Button btnReformatInfo = dview.findViewById(R.id.btnReformatInfo);
ImageButton ibBatteryInfo = dview.findViewById(R.id.ibBatteryInfo);
ImageButton ibReformatInfo = dview.findViewById(R.id.ibReformatInfo);
btnBatteryInfo.setOnClickListener(new View.OnClickListener() {
ibBatteryInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 39);
}
});
btnReformatInfo.setOnClickListener(new View.OnClickListener() {
ibReformatInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 35);