net.hockeyapp.android.internal
Class UpdateView

java.lang.Object
  extended by RelativeLayout
      extended by net.hockeyapp.android.internal.UpdateView

public class UpdateView
extends RelativeLayout

Description

Internal helper class to draw the content view of UpdateActivity and UpdateFragement.

License

 Copyright (c) 2012 Codenauts UG
 
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
 files (the "Software"), to deal in the Software without
 restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the
 Software is furnished to do so, subject to the following
 conditions:
 
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.
 

Author:
Thomas Dohmke

Field Summary
static int HEADER_VIEW_ID
           
protected  RelativeLayout headerView
           
protected  boolean layoutHorizontally
           
protected  boolean limitHeight
           
static int NAME_LABEL_ID
           
static int UPDATE_BUTTON_ID
           
static int VERSION_LABEL_ID
           
static int WEB_VIEW_ID
           
 
Constructor Summary
UpdateView(Context context)
           
UpdateView(Context context, AttributeSet attrs)
           
UpdateView(Context context, boolean allowHorizontalLayout)
           
UpdateView(Context context, boolean allowHorizontalLayout, boolean limitHeight)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_VIEW_ID

public static final int HEADER_VIEW_ID
See Also:
Constant Field Values

NAME_LABEL_ID

public static final int NAME_LABEL_ID
See Also:
Constant Field Values

VERSION_LABEL_ID

public static final int VERSION_LABEL_ID
See Also:
Constant Field Values

UPDATE_BUTTON_ID

public static final int UPDATE_BUTTON_ID
See Also:
Constant Field Values

WEB_VIEW_ID

public static final int WEB_VIEW_ID
See Also:
Constant Field Values

headerView

protected RelativeLayout headerView

layoutHorizontally

protected boolean layoutHorizontally

limitHeight

protected boolean limitHeight
Constructor Detail

UpdateView

public UpdateView(Context context)

UpdateView

public UpdateView(Context context,
                  AttributeSet attrs)

UpdateView

public UpdateView(Context context,
                  boolean allowHorizontalLayout)

UpdateView

public UpdateView(Context context,
                  boolean allowHorizontalLayout,
                  boolean limitHeight)