Compare commits
1 Commits
3e64da2e2e
...
341d2c5229
| Author | SHA1 | Date | |
|---|---|---|---|
| 341d2c5229 |
@@ -1293,7 +1293,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
// Add buttons to create other events
|
// Add buttons to create other events
|
||||||
for (type in currentPopupItems) {
|
for (type in currentPopupItems) {
|
||||||
val view = inflater.inflate(R.layout.more_events_popup_item, null)
|
val view = layoutInflater.inflate(R.layout.more_events_popup_item, linearLayout, false)
|
||||||
val textView = view.findViewById<TextView>(R.id.tv)
|
val textView = view.findViewById<TextView>(R.id.tv)
|
||||||
textView.text = LunaEvent.getPopupItemTitle(applicationContext, type)
|
textView.text = LunaEvent.getPopupItemTitle(applicationContext, type)
|
||||||
textView.setOnClickListener {
|
textView.setOnClickListener {
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
android:id="@+id/button_statistics"
|
android:id="@+id/button_statistics"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:background="@drawable/dropdown_list_item_background"
|
android:background="@drawable/dropdown_list_item_background"
|
||||||
style="@style/OverflowMenuText"
|
style="@style/OverflowMenuText"
|
||||||
|
|||||||
11
app/src/main/res/layout/more_events_popup_item.xml
Normal file
11
app/src/main/res/layout/more_events_popup_item.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<TextView
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/tv"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:padding="10dp"
|
||||||
|
android:background="@drawable/dropdown_list_item_background"
|
||||||
|
style="@style/OverflowMenuText"
|
||||||
|
android:text="Item Template"/>
|
||||||
Reference in New Issue
Block a user