« first day (812 days earlier)      last day (205 days later) » 

5:46 AM
if(unit1.equalsIgnoreCase("Year")){
txt3.setText("Year " +year +"\n"+msg1);
}
else if(unit1.equalsIgnoreCase("Month")){
txt3.setText(m +"\n"+msg1);
}
else if(unit1.equalsIgnoreCase("Week")){
txt3.setText(w +"\n"+msg1);
}
else if(unit1.equalsIgnoreCase("Day")){
txt3.setText("Day "+days +"\n"+msg1);
}
else if(unit1.equalsIgnoreCase("Hour")){
txt3.setText("Hour "+hours +"\n"+msg1);
}
else if(unit1.equalsIgnoreCase("Minute")){
txt3.setText("Minute "+minutes +"\n"+msg1);
}
else if(unit1.equalsIgnoreCase("Second")){
 
 
1 hour later…
6:48 AM
1 message moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
 
2 hours later…
8:56 AM
<ListView
        android:id="@+id/listView1"
        android:divider="@drawable/list_divider"
        android:dividerHeight="1dp"
        android:listSelector="@drawable/list_selector"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >
    </ListView>

list_selector.xml

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:drawable="@drawable/list_selector_pressed" android:state_pressed="true"></item>
 
1 message moved from [[iOS][Android][ChaosOverFlow]](chat.stackoverflow.com/rooms/26424/iosandroidchaosoverflow)
 
9:47 AM
@Override
public View getView(int position, View convertView, ViewGroup parent) {
// View v = view;
View v = convertView;
if (v == null) {
LayoutInflater vi = context.getLayoutInflater();
v = vi.inflate(R.layout.list, null);
}
if (position % 2 == 0)

v.setBackgroundResource(R.drawable.even_row);

else

v.setBackgroundResource(R.drawable.odd_row);
TextView post = (TextView) v.findViewById(R.id.post);
post.setText(web[position]);

return v;
}
 
1 message moved from Smart Developers' Lab
 
 
2 hours later…
11:54 AM
are dodse
 
aaje swarej kadhi nakhi pehla na kehvay atyare ochi nikal se :D
3 messages moved from ASP.NET with C#/VB/MVC
 

« first day (812 days earlier)      last day (205 days later) »