Fix bug, Buttons (WIP)
This commit is contained in:
parent
7188474bfc
commit
a53c8c715a
@ -4,6 +4,7 @@ import android.content.Context;
|
|||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
import android.os.Looper;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@ -57,6 +58,7 @@ public class DynamicFragment extends Fragment {
|
|||||||
|
|
||||||
FabUtil.showFabs(getActivity());
|
FabUtil.showFabs(getActivity());
|
||||||
|
|
||||||
|
handler = new Handler(Looper.getMainLooper());
|
||||||
refreshCodes = () -> {
|
refreshCodes = () -> {
|
||||||
for(int i = 0; i < binding.itemList.getChildCount(); i++) {
|
for(int i = 0; i < binding.itemList.getChildCount(); i++) {
|
||||||
View v = binding.itemList.getChildAt(i);
|
View v = binding.itemList.getChildAt(i);
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
android:id="@+id/button"
|
android:id="@+id/button"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Button"/>
|
android:text="Button"
|
||||||
|
android:background="@drawable/button_theme_red_blue"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Reference in New Issue
Block a user