Questions tagged as 'android-layout'

1
answer

Adding Items Programmatically

I have a certain part of an application in which there is a random questionnaire. Generated by the user. The question is: I do not have access to the amount of questions or what the questions are promptly asked. So I have to get it all dynamical...
asked by 11.02.2014 / 15:38
0
answers

Circular Reveal with background color change and status bar in TabLayout

I would like to make an effect that when I click on the TabItem the background and status bar colors change with the circular revelation effect, similar to the Google Play Store as shown in the image, I am a beginner and I did not find any tutor...
asked by 02.01.2018 / 23:20
0
answers

Stick header recyclerView fixed header

I am implementing the effect of stick header on a recyclerView in my application. I created a subclass of RecyclerView.ItemDecorator and did my implementation, the effect was applied to Recycler , however the header...
asked by 15.01.2018 / 16:03
0
answers

How to modify the Navigation Drawer to call an Activity

People I created a navigation drawer through the google gallery (Navigation Drawee Activity) and I would like to modify it for when I click the menu instead of calling an extent fragment file to call a normal Activity, the traditional way using...
asked by 18.12.2017 / 15:50
2
answers

Change visibility of xml layout with change of device orientation

I need to change the visibility of a layout in xml when the orientation of the device is from portrait to landscape. I want to add 2 columns when performing this action. I used the code android:visibility="gone" to hide, but I can not fin...
asked by 25.11.2017 / 16:32
3
answers

Texts style of EditText - Underline on ZigZag

I have an edittext that when it detects a specific word it highlights it for example: print("Destaque") The word print will be highlighted. But until that's fine, I want every time it detects a variable or a word that is wrong acc...
asked by 09.11.2017 / 22:35
2
answers

Why does the preview of the layouts no longer appear after upgrading to Android Studio 3.0?

I made the update of Android Studio 2.3.3 for 3.0 . From there, only headache: projects ready with problem . In both the layouts design tab and the preview window, the screen layout ( design of the layout ). What appears in the prev...
asked by 02.11.2017 / 20:25
1
answer

Fit Image / Bitmap to ImageView or adjust ImageView to Image / Bitmap

I'm trying to create a menu screen something like this: Tomakethiscutdiagonally,Imadethisimagetostayontopofthebackground: However,inAndroidStudio,Icannotscaletheimagetofilltherequiredspaceonthescreen,I'musingConstraintLayoutandtryingtoenlarg...
asked by 29.10.2017 / 01:35
1
answer

Spinner does not load data from string.xml

My spinner just shows the arrow. in 1 it has to show the states and so informed the 2 shows the cities of that state Thisisthejavacode.publicclassPropertyRegisterActivityextendsAppCompatActivityimplementsOnItemSelectedListener{privateSpinners...
asked by 27.12.2017 / 13:54
0
answers

Iframe opens full screen in webview in Android Studio

Every time I place an iframe, instead of opening it inside the page, the iframe opens in full screen. Follow project codes MainActivity.java package com.example.duff.webviewoficial; import android.support.v7.app.AppCompatActivity;...
asked by 15.03.2017 / 22:56