xxxxxxxxxx
.aclass {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
line-clamp: 3;
-webkit-line-clamp: 3; /* number of lines to show */
-webkit-box-orient: vertical;
}
xxxxxxxxxx
.text {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
}
xxxxxxxxxx
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4; // put the number of lines
-webkit-box-orient: vertical;
xxxxxxxxxx
Spinner spinner_house = (Spinner) findViewById(R.id.spinner_house);
String spinner_house_data = spinner_house.getSelectedItem().toString();
xxxxxxxxxx
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
}