Android Open Source - AerisAndroidLibrary Two Part View

From Project

Back to project page AerisAndroidLibrary.


The source code is released under:

Apache License

If you think the Android project AerisAndroidLibrary listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.view;
/*  w  w w  .j  a v a  2  s  .c o  m*/
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.example.demoaerisproject.R;

public class TwoPartView extends LinearLayout {

  private TextView titleTextView;
  private TextView valueTextView;

  public TwoPartView(Context context, AttributeSet set) {
    super(context, set);
    LayoutInflater inflater = (LayoutInflater) context
    inflater.inflate(R.layout.view_twopart, this, true);
    titleTextView = (TextView) this.findViewById(;
    valueTextView = (TextView) this.findViewById(;

  public void setText(String title, String value) {

Java Source Code List