android-support-library Questions
4
I have a Toolbar together with a TabLayout and an image wrapped inside a CollapsingToolbarLayout. This gif pretty much sums it up:
https://raw.githubusercontent.com/vitovalov/TabbedCoordinatorLayo...
Nesmith asked 7/12, 2015 at 11:40
5
Solved
I am trying to get the TextView of the Snackbar with this code snippet:
snackbarView.findViewById<TextView>(android.support.design.R.id.snackbar_text)
but Android Studio does not resolve ...
Manhandle asked 18/10, 2018 at 11:35
4
Solved
I implemented SwipeRefreshLayout in my app. I need to change the height which has to be scrolled down to call onRefresh() method. Which method should I use to add a custom height ?
Implementation ...
Forme asked 4/4, 2014 at 7:52
2
Problem : NavigationView not show full text of menu item, also not truncate text.
This item I see correctly - two words "Small title":
<item
android:id="@+id/example1"
android:icon="@drawable...
Cobham asked 24/2, 2016 at 11:1
2
Solved
Is there a way to apply a theme to a Cardview? I don't want to apply the style to every single view i'm creating.
This is my CardView right now:
<android.support.v7.widget.CardView
xmlns:andr...
Sundsvall asked 3/8, 2016 at 7:45
4
Solved
I am trying to draw views behind the status bar like this:
I tried to produce this effect with the recommended techniques, but I get this:
It's clear from the screenshot that none of my app co...
Blurb asked 12/11, 2015 at 9:57
8
Solved
I've added the appCompat material design to my app and it seems that the alert dialogs are not using my primary, primaryDark, or accent colors.
Here is my base style:
<style name="MaterialNav...
Nitrite asked 19/10, 2014 at 22:3
15
Solved
I deployed a virtual machine on Azure. I've installed Visual Studio 2015, Xamarin and other mobile development tools.
I did the same setup on my local computer to test my apps on my devices from Vi...
Quire asked 12/6, 2016 at 23:50
7
Solved
Just had a look at the demo app of new Android support design library. It's provided by Chris Banes on github. Throught the app, CoordinatorLayout is used Heavily. Also, many of the support design ...
Willing asked 29/5, 2015 at 18:35
3
Solved
After update I found that getLoaderManager is deprecated but I can't find that should I use instead of.
How to get LoaderManager? Or what should I use instead of Loaders?
Semipalmate asked 1/9, 2018 at 12:53
3
Solved
I'm developing an app where I've been using the support library fragments throughout and I stumbled upon this problem where I can't seem to add a PreferencesFragment (for the settings) using this l...
Solana asked 9/4, 2016 at 3:45
2
Solved
I want to use Face Unlock as a second factor for my app, since most of my users will not lock their phones with a password.
Are there Android APIs available to integrate Face Unlock in an An...
Sponger asked 19/9, 2013 at 6:52
4
Solved
I have a toolbar with a transparent/translucent background that overlays the content. So, behind the toolbar, views can appear that are clickable. The problem is that they can not be clicked throug...
Sumer asked 24/5, 2015 at 16:33
5
I am perplexed by how Fragment.isVisible() is supposed to work. Even though I have a fragment added in Activity.create(), Fragment.isVisible() returns false even when FragmentManager.commitNow() is...
Sihunn asked 15/3, 2017 at 15:42
13
Solved
I am experimenting with the support library's recyclerview and cards. I have a recyclerview of cards. Each card has an 'x' icon at the top right corner to remove it:
The card xml, list_item.xml:
...
Jessiajessica asked 31/10, 2014 at 19:41
5
Could not find com.android.support:appcompat-v7:24.2.1.
Searched in the following locations:
- https://jcenter.bintray.com/com/android/support/appcompat-v7/24.2.1/appcompat-v7-24.2.1.pom
If the ar...
Dinger asked 21/6, 2020 at 9:10
11
I develop own library module where I use Snackbar.
Here is my Gradle file:
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
min...
Zellner asked 14/12, 2015 at 9:26
12
In my app I have single activity and and all other fragments
I am setting background for activity from style.xml as below
<item name="android:windowBackground">@color/very_light_gray</it...
Hazan asked 25/2, 2018 at 13:43
4
Solved
I'm using Android Studio 1.5.1, Gradle 2.8 and my project min sdk vserion:14, target sdk version: 23.
So, When I add vectorDrawables to configuration by documentation Google: Added VectorDrawable...
Fanchet asked 29/2, 2016 at 6:34
3
I am using a RecyclerView fed with data from a SortedList using a SortedListAdapterCallback. I want to disable animations for onChange events, but preserve them for onInserted/onRemoved/onMoved. I ...
Surtout asked 3/3, 2016 at 8:8
3
Solved
I am trying to make runtime permissions backward compatible with older devices but using the support library i cant find checkSelfPermission() static call in ContextCompat class, but its documented...
Sanatory asked 7/10, 2015 at 3:30
5
Solved
After update to v23.2.0 in my RecyclerView I have items with huge empty vertical space, between the items.
My item layout is very simple:
<LinearLayout xmlns:android="http://schemas.android....
Subcommittee asked 1/3, 2016 at 16:28
5
Solved
If I use vectorDrawables.useSupportLibrary = true in gradle then run the app it stopped unfortunately. If I remove vectorDrawables.useSupportLibrary = true the app works.
My gradle:
apply plugin:...
Torrie asked 31/12, 2016 at 11:15
3
I'm adding vector drawable support to a library project, and using app:srcCompat to reference the vector drawable. The only view that appears to work is ImageButton and I'm not sure why.
Here's th...
Fosterling asked 23/6, 2016 at 23:32
9
Error when merging the dex
following are the dependencies.
ext {
anko_version='0.10.5'
support_lib='1.0.0-alpha1'
room_lib = "1.1.0"
}
dependencies {
implementation "org.jetbrains.kotlin:kot...
Rightist asked 17/5, 2018 at 8:51
© 2022 - 2024 — McMap. All rights reserved.