An Android layout defines everything the user can see and touch.
0
votes
0answers
23 views
Android Generate Random Textview
I have just started learning Android and got some misunderstanding. I'm trying to create an application which displays a textView and a button. Every button click generates a random textview. Text ...
1
vote
0answers
7 views
splitter between fragments enables the user to resize it
How can i apply this view , i want to have 2 fragments horizontal with splitter that enables the user to resize fragments .
image at this link
http://s22.postimg.org/iwfdop9ld/Untitled.jpg
thanks ...
-3
votes
2answers
33 views
how to add edit text or text dynamically in activity by clicking on button?
I want to add Edit text in my activity by clicking on button. As in android phone if we create new contact, there is option for add more contact number. If we click on (+) so there one more field is ...
0
votes
2answers
19 views
Check if view element is added to layout or not programmatically
In my fragment class, I add a child view element programmatically to my layout conditionally :
LinearLayout child = (LinearLayout) inflater.inflate(R.layout.child_view, null);
LayoutParams params = ...
0
votes
1answer
17 views
Bottom tabs in the Android 4 or later as in iPad application
I am developing an android application which is the iPhone version for Android devices and this iPhone application has the bottom tabs.
These types of tabs are present in the many iPhone ...
0
votes
2answers
19 views
Android Navigation Drawer - scrim color over menu
I have problem with scrim color overlaying not only main content but also the menu.
This is my layout:
<android.support.v4.widget.DrawerLayout
...
0
votes
0answers
10 views
Does not image in Frame animation
i try to make frame - by - frame animation.
code:
`package com.example.animationtestdelete;
import android.app.Activity;
import android.graphics.drawable.AnimationDrawable;
import ...
0
votes
1answer
9 views
android screen goes black if I open cocos 2d project after getting out of an activity
My android screen goes black if I open cocos 2d project after getting out of an activity
public static CCScene scene()
{
CCScene scene = CCScene.node();
CCLayer layer = new ...
0
votes
1answer
25 views
Android SQLite: Query to retrive only 5 records at a time
I need to retrieve data from a table QUESTION_TABLE with a limit of only 5 records at a time and display them in the Different textviews and these questions have answers of yes or a no , and when next ...
0
votes
2answers
22 views
Placing a textview correctly within a layout
I have a custom dialog box which is a series of buttons, pickers and viewswitchers. I'm trying to put a textview that displays text above the setDate and setTime buttons. At the moment it displays the ...
0
votes
1answer
9 views
Load other views in secondary thread Android
in my program I use a FlipView taken from a library (https://github.com/emilsjolander/android-FlipView). This component use a Base Adapter to create some views with flip effect between them. The ...
-4
votes
1answer
31 views
Dynamic Layout with two columns
I have some layout which consists of two columns for example
aaaaa EditText bbbbbb
ccccc EditText dddddd
eeeee ...
1
vote
1answer
22 views
VideoView inside fragment causes black screen flicking
We have an Android application running on Android API 4.0. One of the activities has a layout that divides the screen in 2 parts. On the left side we have a static part with some buttons. On the right ...
0
votes
1answer
26 views
How to know exactly off screen size of the screen in android?
I am new to android , I have a requirement that when activity is loaded one image view fit for entire screen after 5 second it will be fit exactly off screen for all devices like small ,medium and ...
3
votes
1answer
46 views
Create a Vertical Line in Android
I am trying to create a vertical line .
I used this code to create a vertical line.
<View
android:layout_width="match_parent"
android:layout_height="1dp"
...