I am playing with the tutorial from http://developer.android.com/training/basics/.
First Activity consists of a TextView and a Button.
The Button sends to a second activity.
Second Activity consists of a TextView created programmatically and displays the message from the first TextView.
The View has a relative layout.
I want the TextView to span the width of the parent and the height of the co
I have custom View which is dynamically added multiple times in same activity.
Each of custom view instance has beside other stuff a TextView child.
The TextView has it's ID and it is same for each view instance.
For each custom view instance I set different Text for TextView when activity is created.
When I rotate the screen, the activity is recreated but now each TextView displays same Text (t
Im pretty much a newbie at this so i could use some help to know why does my app keep crashing ?
I have exhausted my search to keep the TextView centered, when changing the textsize.
There are many similar questions on this site, but none of the threads provide a solution for my problem.
In my XML file, I have a RelativeLayout, and TextView inside of it(code below).
I have a TextView which firstly shows a small portion of a long text.
The user can press a "see more" button to expand the TextView and see the rest of that text.
Making tests, I can reach that by simply interchange the value of TextView.setMaxLines between 4 for collapsing and Integer.MAX_VALUE for expanding.
Now, I would like that this behavior would be accompanied by an animation.
I have a textview.On clicking the testview the edit text comes up with focus. But to get the numpad another click is required.
I want that when i click on TextView,the edit text should come up with the numpad.
(the text view is made invisible on click)
I am new to android develoment and i'm in the learning stage. In my application I have five TextView controls with different texts in each and two buttons-'Next' and 'Previous' on a single screen. I want to change the TextView(with its text) on button click. e.g. when press the Next button first time, TextView2 should be displayed, second time TextView3 should be displayed and so on.
I need to create a view where i can dynamically add a Tshirt image and add a Textview for inserting a text in it along with a Imageview to display images in tshirt where That Textview and Imageview is scrollable and zoom in and zoom out all works done and working.
I'm trying to make a program that takes user text input and displays it in a textview, while also being formatted depending on which radio button(s) and/or checkbox(es) has been checked.
Here's my entire code for mainactivity.java
package com.example.lab3_lefelhocz;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.*