preferences layout: remove unnecessary dp height
add matching material overflow icon for headlines list
@ -18,13 +18,11 @@ import android.view.ContextMenu.ContextMenuInfo;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.AdapterContextMenuInfo;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ListView;
|
||||
import android.widget.TextView;
|
||||
@ -487,7 +485,7 @@ public class FeedCategoriesFragment extends BaseFeedlistFragment implements OnIt
|
||||
tu.setVisibility((cat.unread > 0) ? View.VISIBLE : View.INVISIBLE);
|
||||
}
|
||||
|
||||
ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
/*ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
|
||||
if (ib != null) {
|
||||
ib.setOnClickListener(new OnClickListener() {
|
||||
@ -496,7 +494,7 @@ public class FeedCategoriesFragment extends BaseFeedlistFragment implements OnIt
|
||||
getActivity().openContextMenu(v);
|
||||
}
|
||||
});
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
return v;
|
||||
|
@ -25,7 +25,6 @@ import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.AdapterContextMenuInfo;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ListView;
|
||||
import android.widget.TextView;
|
||||
@ -679,7 +678,7 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi
|
||||
tu.setVisibility((feed.unread > 0) ? View.VISIBLE : View.INVISIBLE);
|
||||
}
|
||||
|
||||
ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
/*ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
|
||||
if (ib != null) {
|
||||
ib.setOnClickListener(new OnClickListener() {
|
||||
@ -688,7 +687,7 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi
|
||||
getActivity().openContextMenu(v);
|
||||
}
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
return v;
|
||||
}
|
||||
|
@ -17,12 +17,10 @@ import android.view.ContextMenu.ContextMenuInfo;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.AdapterContextMenuInfo;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ListView;
|
||||
import android.widget.TextView;
|
||||
@ -293,7 +291,7 @@ public class OfflineFeedCategoriesFragment extends BaseFeedlistFragment implemen
|
||||
tu.setVisibility((cursor.getInt(cursor.getColumnIndex("unread")) > 0) ? View.VISIBLE : View.INVISIBLE);
|
||||
}
|
||||
|
||||
ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
/*ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
|
||||
if (ib != null) {
|
||||
ib.setOnClickListener(new OnClickListener() {
|
||||
@ -302,7 +300,7 @@ public class OfflineFeedCategoriesFragment extends BaseFeedlistFragment implemen
|
||||
getActivity().openContextMenu(v);
|
||||
}
|
||||
});
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
return v;
|
||||
|
@ -20,7 +20,6 @@ import android.view.ViewGroup;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.AdapterContextMenuInfo;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ListView;
|
||||
import android.widget.TextView;
|
||||
|
||||
@ -313,7 +312,7 @@ public class OfflineFeedsFragment extends BaseFeedlistFragment implements OnItem
|
||||
tu.setVisibility((cursor.getInt(cursor.getColumnIndex("unread")) > 0) ? View.VISIBLE : View.INVISIBLE);
|
||||
}
|
||||
|
||||
ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
/*ImageButton ib = (ImageButton) v.findViewById(R.id.feed_menu_button);
|
||||
|
||||
if (ib != null) {
|
||||
ib.setOnClickListener(new OnClickListener() {
|
||||
@ -322,7 +321,7 @@ public class OfflineFeedsFragment extends BaseFeedlistFragment implements OnItem
|
||||
getActivity().openContextMenu(v);
|
||||
}
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
return v;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 165 B |
BIN
org.fox.ttrss/src/main/res/drawable-hdpi/ic_dots_vertical.png
Normal file
After Width: | Height: | Size: 300 B |
After Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 171 B |
BIN
org.fox.ttrss/src/main/res/drawable-xhdpi/ic_dots_vertical.png
Normal file
After Width: | Height: | Size: 400 B |
After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 245 B |
BIN
org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_dots_vertical.png
Normal file
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 590 B |
BIN
org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_dots_vertical.png
Normal file
After Width: | Height: | Size: 797 B |
After Width: | Height: | Size: 950 B |
@ -48,7 +48,7 @@
|
||||
android:textColor="?unreadCounterColor"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<ImageButton
|
||||
<!-- <ImageButton
|
||||
android:id="@+id/feed_menu_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@ -56,6 +56,6 @@
|
||||
android:background="@null"
|
||||
android:paddingLeft="8dp"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/ic_action_overflow" />
|
||||
android:src="?ic_dots_vertical" /> -->
|
||||
|
||||
</LinearLayout>
|
@ -50,7 +50,7 @@
|
||||
android:textColor="?unreadCounterColor"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<ImageButton
|
||||
<!-- <ImageButton
|
||||
android:id="@+id/feed_menu_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@ -58,6 +58,6 @@
|
||||
android:background="@null"
|
||||
android:paddingLeft="8dp"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/ic_action_overflow" />
|
||||
android:src="?ic_dots_vertical" /> -->
|
||||
|
||||
</LinearLayout>
|
@ -178,11 +178,11 @@
|
||||
android:id="@+id/article_menu_button"
|
||||
android:background="@drawable/ripple"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="16dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_weight="0"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingRight="4dp"
|
||||
android:src="@drawable/ic_action_overflow" />
|
||||
android:src="?ic_dots_vertical" />
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
@ -180,11 +180,11 @@
|
||||
android:id="@+id/article_menu_button"
|
||||
android:background="@drawable/ripple"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="16dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_weight="0"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingRight="4dp"
|
||||
android:src="@drawable/ic_action_overflow" />
|
||||
android:src="?ic_dots_vertical" />
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
@ -10,7 +10,7 @@
|
||||
android:background="?android:colorBackground"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="502dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
|
@ -43,6 +43,7 @@
|
||||
<attr name="ic_archive" format="reference" />
|
||||
<attr name="ic_coffee" format="reference" />
|
||||
<attr name="ic_folder_outline" format="reference" />
|
||||
<attr name="ic_dots_vertical" format="reference" />
|
||||
<declare-styleable name="ScrimInsetsView">
|
||||
<attr format="reference|color" name="insetForeground">
|
||||
</attr></declare-styleable>
|
||||
|
@ -56,6 +56,7 @@
|
||||
<item name="ic_archive">@drawable/ic_archive_dark</item>
|
||||
<item name="ic_coffee">@drawable/ic_coffee_dark</item>
|
||||
<item name="ic_folder_outline">@drawable/ic_folder_outline_dark</item>
|
||||
<item name="ic_dots_vertical">@drawable/ic_dots_vertical_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme.Base" parent="Theme.AppCompat.NoActionBar">
|
||||
@ -113,6 +114,7 @@
|
||||
<item name="ic_archive">@drawable/ic_archive</item>
|
||||
<item name="ic_coffee">@drawable/ic_coffee</item>
|
||||
<item name="ic_folder_outline">@drawable/ic_folder_outline</item>
|
||||
<item name="ic_dots_vertical">@drawable/ic_dots_vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkDialogTheme" parent="android:Theme"></style>
|
||||
|